package com.wetalk.pojo;
/**
 * @author lijiaxing 2025-7-6
 * @description 接口的响应类封装
 */
public class Response {
    public Integer code;
    public String message;
    public Object data;
    public Response(Integer code, String message, Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
    public static Response success(Object data) {
        return new Response(200, "success", data);
    }
}
